////////////////////////////////////////////////////////////////////////////////
// Filename: L_dx11effect.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _L_DX11EFFECT_H_
#define _L_DX11EFFECT_H_

#include <D3DX11.h>
#include "L_dx11vertexshader.h"
#include "L_dx11pixelshader.h"

class L_DX11Effect
{
	L_DX11VertexShader* VertexShader;
	L_DX11PixelShader* PixelShader;

	ID3D11InputLayout* vertLayout;
public:
	L_DX11Effect();
	~L_DX11Effect();

	bool Init(	ID3D11Device* Device, D3D11_INPUT_ELEMENT_DESC* layout, unsigned int NumElements,
				string VSFileName, string VSEntryPoint, string VSShaderModel,
				string PSFileName, string PSEntryPoint, string PSShaderModel);

	ID3D11VertexShader* GetVertexShader();
	ID3D11PixelShader* GetPixelShader();
	ID3D11InputLayout* GetLayout();
};

#endif